IF EXISTS
(
	SELECT *
	FROM dbo.[sysobjects]
	WHERE [id] = OBJECT_ID(N'dbo.[ExampleView]') AND OBJECTPROPERTY([id], N'IsView') = 1
)
	BEGIN
	DROP VIEW dbo.[ExampleView]
	END
GO